package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

public class PmProdSkuInst implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "商品ID")
    private Long prodId;

    @ApiModelProperty(value = "SKU名称")
    private String name;

    @ApiModelProperty(value = "SKU编码")
    private String code;

    @ApiModelProperty(value = "SKU价格")
    private Float price;

    @ApiModelProperty(value = "SKU状态")
    private String status;

    @ApiModelProperty(value = "顺序")
    private Integer seq;

    @ApiModelProperty(value = "版本号")
    private String version;

    private List<PmProdPricePlanPrptyRel> prodPricePlanPrptyRelList;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProdId() {
        return prodId;
    }

    public void setProdId(Long prodId) {
        this.prodId = prodId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public List<PmProdPricePlanPrptyRel> getProdPricePlanPrptyRelList() {
        return prodPricePlanPrptyRelList;
    }

    public void setProdPricePlanPrptyRelList(List<PmProdPricePlanPrptyRel> prodPricePlanPrptyRelList) {
        this.prodPricePlanPrptyRelList = prodPricePlanPrptyRelList;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", prodId=").append(prodId);
        sb.append(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", price=").append(price);
        sb.append(", status=").append(status);
        sb.append(", seq=").append(seq);
        sb.append(", version=").append(version);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}